package com.zxy.ziems.server.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 点位数据表(TPointData)实体类
 *
 * @author makejava
 * @since 2023-12-04 13:45:17
 */
@Data
public class PointDataDto {
    /**
     * 主键
     */
    @NotEmpty(message = "主键不能为空")
    private String id;
    /**
     * 数据值
     */
    @NotNull(message = "数据值不能为空")
    private BigDecimal dataValue;
}

